
import 'package:flutter/material.dart';
import 'package:osc/res/dimens.dart';
import 'package:osc/ui/pages/tweet/tweet_list.dart';
import 'package:osc/ui/widgets/common_scaffold.dart';

///动弹
class TweetListPage extends StatefulWidget {
  final int authorId;

  const TweetListPage({Key key, this.authorId}) : super(key: key);



  @override
  State<StatefulWidget> createState() {
    return new TweetListPageState(authorId);
  }
}

class TweetListPageState extends State<TweetListPage>  with SingleTickerProviderStateMixin<TweetListPage>{
  final int authorId;
  TweetListPageState(this.authorId);


  double paddingParentHorizontal = Dimens.gap_activity_horizontal;
  double paddingChildHorizontal = Dimens.gap_view_normal;
  double paddingChildVertical = Dimens.gap_view_normal;

  double portraitSize = Dimens.view_item_icon_height_biggest;



  @override
  void initState() {
    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return CommonScaffold(
        title: "猿圈",
        body: TweetList(userId: authorId,),
    );
  }
}
